package com.diankangwo.dto;

import java.util.Comparator;

public class PayCheckAccountDTO implements Comparator<Object>{

	private int id;
	
	private String billNo;
	
	private int orderNum;
	
	private String behooveMoney;
	
	private String actualMoney;
	
	private String remarks;
	
	private String lastTime;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getBillNo() {
		return billNo;
	}

	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}

	public int getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}

	public String getBehooveMoney() {
		return behooveMoney;
	}

	public void setBehooveMoney(String behooveMoney) {
		this.behooveMoney = behooveMoney;
	}

	public String getActualMoney() {
		return actualMoney;
	}

	public void setActualMoney(String actualMoney) {
		this.actualMoney = actualMoney;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getLastTime() {
		return lastTime;
	}

	public void setLastTime(String lastTime) {
		this.lastTime = lastTime;
	}

	@Override
	public int compare(Object obj0, Object obj2) {
		PayCheckAccountDTO pcadto0 = (PayCheckAccountDTO) obj0;
		PayCheckAccountDTO pcadto2 = (PayCheckAccountDTO) obj2;
		if(pcadto0.getId() < pcadto2.getId()){
			return 0;
		}else{
			return 1;
		}
	}

}
